{extend name="admin@public/base" /}
{block name="main-content"}
	<div class="page-content">
		<link rel="stylesheet" type="text/css" media="all" href="__PUBLIC__/sldate/daterangepicker-bs3.css" />
		<form name="admin_list_sea" class="form-search " method="post" action="{:url('admin/product/index')}">
			<div class="row maintop">

				<div class="col-xs-8 col-sm-4 btn-sespan">
					<div class="input-group">
									<span class="input-group-addon">
										<i class="ace-icon fa fa-check"></i>
									</span>
						<input type="text" name="key" id="key" class="form-control search-query admin_sea" value="" placeholder="输入需查询的产品名称" />
						<span class="input-group-btn">
										<button type="submit" class="btn btn-xs btm-input btn-purple">
											<span class="ace-icon fa fa-search icon-on-right bigger-110"></span>
											搜索
										</button>
									</span>
					</div>
				</div>


			</div>
		</form>
		<div class="row">
			<div class="col-xs-12">
				<div>
					<form id="alldel" name="alldel" method="post" action="{:url('admin/Product/index')}" >
						<input name="p" id="p" value="{:input('p',1)}" type="hidden" />
						<div class="table-responsive">
							<table class="table table-striped table-bordered table-hover" id="dynamic-table">
								<thead>
								<tr>
									<th class="hidden-xs center">
										<label class="pos-rel">
											<input type="checkbox" class="ace"  id='chkAll' onclick='CheckAll(this.form)' value="全选"/>
											<span class="lbl"></span>
										</label>
									</th>
									<th>ID</th>
									<th>产品名臣称</th>
									<th class="hidden-sm hidden-xs">产品分类</th>
									<th class="hidden-sm hidden-xs">是否推荐到首页</th>
									<th>排序</th>
									<th class="hidden-sm hidden-xs">添加时间</th>
									<th style="border-right:#CCC solid 1px;">操作</th>
								</tr>
								</thead>
								<tbody id="ajax-data">
								{include file="product/product_list"/}
								</tbody>
							</table>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
{/block}